const _shallowClone = (target) => {
  if (target === null || typeof target !== "object") return target;
  const clone = Array.isArray(target) ? [] : {};
  for (const key in target) {
    if (Object.getPrototypeOf(key)) {
      clone[key] = target[key];
    }
  }
  return clone;
};
